home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Supervisor's Toolkit
/
Network Supervisor's Toolkit.iso
/
e-mail
/
charon
/
sample.dat
< prev
next >
Wrap
Text File
|
1996-07-10
|
19KB
|
555 lines
; charon.dat -- sample charon configuration data file
;
; ########################################################################
; ### Important. This sample file contains all possible options ###
; ### You won't need as many. Please don't use this as your .dat file ###
; ########################################################################
;
; all text following a ';' on each line is considered to be a
; comment line.
;
;
; Quoted Strings may contain escaped characters
; \nnn An octal escape
; \e Decimal 27 ESCAPE
; \r Decimal 13 CR
; \n Decimal 10 NL
; \\ The character '\'
;
; Quoted strings may continue accross line boundaries, in which case the
; <CR><NL> will become part of the quoted string.
;
;
; This file is a 'free format' file. The columar position is not
; important during the parsing of this file.
;
; What is important is the sequencing of the command elements, the
; having the proper number of arguements for each command.
;
; Arguements that do not contain spaces do not require quotes.
;
; ########################## GENERAL SETTINGS ##############################
myname romulus.erc.clarkson.edu ; the internet name of the gateway machine
screensave 15 ; 15 second screen saver timeout
; a value of 0 disables the screen saver
rconsole ; include this parameter if you want
; to enable remote terminals to telnet
; into the gateway and view the console.
; users will be required to log in.
; they must be direct members of the
; group "RCONSOLE"
; this function is not supported under
; the RTLINK version of Charon.
fingerd ; include this parameter to enable
; the built in finger Daemon
; ########################## LPR CONTROL ######################
lpr ; begin the LPR control section
max_lprs 1 ; set the max number of LPRS
; the default is 1
debug ; enable a debugging window
; otherwise, comment out to go without
; ######################### LPD CONTROL ###################################
lpd ; begin the LPD section
max_lpds 1 ; set the max number of listening LPDs
; 0 is the default (no LPDS)
debug ; enable an LPD debugging window
; ######################### TRANSLATOR SECTION ###############################
translators ; marks the beginning of translators
; ### xlate_load defs must come first
xlate_load "txt2ps" ; the internal name of the `load'
"txt2ps" ; the external filename.
; these files are stored in the master
; spool directory under the bin subdir
; txt2ps converts text into Postscript
xlate_load "lf2crlf"
"lf2crlf" ; another example.
; this one converts LF to <CR><LF>
xlate_load "tagchg"
"tagchg" ; this one twiddles the TAG values
; ### next comes the use section
xlate_use "txt2ps" ; the internal name of the use
"txt2ps" ; the internal name of the load (see above)
loadstring "-nobanner"
; the optional loadstring which is an arg
; passed to the running use.
xlate_use "text_ff_nobanner" ; hey, a readable name
"tagchg" ; uses tagchange
loadstring "+CF & 127 +CF | 64"
; this tells TAGCHG to clear the DOBANNER flags
; and sets the TEXT and FF flag (see tagvalue.h)
xlate_use "lf2crlf"
"lf2crlf" ; we don't need a loadstring...
; ### finally comes the list section
xlate_list "postscript" ; the internal name of the list
use "txt2ps" ; the list of uses to use
xlate_list "standard_text"
use "text_ff_nobanner" ; tagchg will always rescan
use "lf2crlf"
;############################ SERVER SECTION ################################
server "draco" ; enter the Novell server name,
; and additional server information
userid "charon" ; the Print Server Account name
password "" ; the Print Server Account password
mailqueue "mailqueue" ; the name of the mailqueue
poll 10 ; poll this queue every Poll seconds
master "vol1:usr\\staff\\bkc\\charon"
; at least one server must be a
; master server w/ a spool dir
incoming "folas" ; the name of an incoming queue
; (matches pconsole name)
name "fuzzylas" ; this optional parm lets you change
; the internal name of the queue
; to 'name'. If not specified,the
; internal name
; matches the `incoming' argument
; which is the real queue name on
; the server (in this example, folas)
map "sample.map" ; the access control map which lives
; under the master spool directory
; in the maps directory
; optional, if missing, anyone can have
; access
translate "standard_text" ; uses the standard text translate list
initdata "\e[2J" ; initialization text string (stupid example)
initfile "folas.ini" ; an initialization file which lives under
; the master spool directory in the PDATA subdirectory
resetdata "\014" ; sends a FF at the end of the file
resetfile "folas.res"; a file sent at the end of the job
; useful if the reset sequence is long
outgoing "stafflas" ; an outgoing printer
host omnigate ; the destination host name, must
; appear the same in config.tel
printer staffps ; the name of the printer on the remote
; host
poll 15 ; how often to poll in seconds
timeout 30 ; open timeout in seconds
translate postscript ; uses the postscript translate list
server "darius"
userid "charon"
password ""
mailqueue "mailqueue"
poll 10
; ###################### MAILER CONTROL #################################
mailer ; begin mailer information section
agent "omnigate" ; specify the config.tel name
; of the smtp agent
lists ; specify information about where
; mailing list information is stored
"draco" ; The Master Novell Server
"sys:public\\lists" ; the Directory on that Server
; Don't include trailing \
; and remember to use two of them
; because \ in quotes means an escape
smtpout ; specify where outgoing SMTP messages
; should be queued for transmission
; to the SMTP Agent.
"draco" ; The Master Novell Server Name
"workqueue" ; The name of the Queue on that Server.
10 ; How Frequently that queue should be
; polled
smtpin ; Specify where incoming SMTP messages
; should be queued.
"draco" ; The Master Novell Server Name
mailqueue ; The name of the Queue on that Server.
listcycles 2 ; number of list addressees to deliver
; to per cycle
listdelay 1 ; number of seconds to delay between
; cycles during list delivery
debug ; Inclusion of this parameter in the
; mailer section causes an SMTPD
; debug window to be created.
; Comment out the debug line if
; you don't need a debugging window.
max_smtpds 2 ; Specify the maximum number of
; SMTPDs (they listen for incoming
; SMTP connections) that may be
; active at any given time.
; A new one is created when
; an incoming SMTP session is established.
; unless MAX_SMTPDs have already been
; created.
nobroadcast ; this optional parameter, if
; included, instructs charon to
; not send broadcast messages to
; recipients when they receive
; new mail
nodelconfirm ; this optional parameter, if
; included, instructs charon to
; not return delivery confirmation
; notices.
returnlines 0 ; this optional parameter specifies
; how many lines of message text
; in rejected messages should be
; returned to the sender.
; 0 means all lines. If not specified
; the default is 10
returnto "sender" ; this optional parameter indicates who
; should receive rejected mail messages.
; possible choices are
;
; "sender" - default if not specified
; "postmaster"
; "both"
timeout 600 ; this optional parameter sets the
; maximum execution time per message
; in seconds for outgoing and incoming
; smtp mail. The default is 10 minutes.
;
options 0 ; sets run time control options
; BE CAREFUL.
; the option arg is the or'ing of the
; following values, in decimal
;
; 1 - Accept any sender, even if the sender's
; address couldn't be parsed
; (X.400 addresses ?? )
; 2 - Accept any recipient, even if the recipient
; is not local. (Could cause a mail loop)
synonyms "filename" ; specify the name of a synonym file
; stored on the master server in the
; MAPS subdirectory of the master spool
; directory
; NOT NORMALLY NEEDED, see CH_syn.EXE
; ########################## TIMESYNC SECTION #############################
timesync ; this section lists the master and
; slave time synchronize entries
; which allows charon to synchronize
; the server time on novell servers
; to a single master novell server
; or to a unix system which supports
; rdate
master "omnigate" ; the master name. This should either
; be your master novell server
; or the name of a unix system which
; supports rdate (be sure there is
; an entry for this host in your config.tel
; file
mode "tcp" ; tcp - use tcp to get timeinfo
; udp - use udp
; (tcp is the default in this version)
; whereas udp was the default in past
; versions
variance 1 ; specify the allowable variance
; in seconds. Server time won't be
; updated if it differs by less than
; this many seconds from the master
slave darius ; list each slave novell server
slave draco ; the gateway group must be a console operator
; on these servers to set the time
poll 86400 ; this parameter tells the gateway
; how often it should synchronize
; the servers. The value is in
; seconds and the default is once
; every 12 hours (24 hours is shown
; in this file).
; ########################## ALIASES #########################################
aliases ; this section lists the aliases
; The NODE command equates a Novell
; Server with it's internet domain name.
; you must have a Node entry for each
; novell server serviced by this gateway.
node "draco.erc.clarkson.edu" ; Specify the Internet name of a Novell Server
"draco" ; along with its Novell Name
node "darius.erc.clarkson.edu" ; Specify the Internet name of a Novell Server
"darius" ; along with its Novell Name
; The USER command defines an alias
; for a Novell Username (optionally at a host)
;
; you MUST specify an alias for Postmaster.
; you MAY specify an alias for Postmaster
; on each server.
; first the global alias is checked
; (an alias without a host specified)
; then an alias for the target user@host
; is checked
user "postmaster" ; Specify an alias for the Postmaster (required)
"supervisor@draco" ; to actually send mail to this user on this Novell Server
user "postmaster@darius" ; Specify an alias for the Postmaster on Novell Server Darius
"supervisor@darius" ; to send it to the supervisor on Darius
user "postmaster@draco" ; Same as Above
"supervisor@draco" ; Send it to supervisor on draco instead
user "novell-l-request" ; Enter an alias for a list maintainer
"bkc@draco" ; Thats me
user "supervisor@darius" ; this is an interesting one
"bkc@omnigate.clarkson.edu" ; entered just to prove a point.
; you can 'nest' aliases up to 10
; deep.
; in this case, mail to postmaster@darius
; would go to supervisor@darius which
; is actually sent to bkc@omnigate.clarkson.edu
; the LIST command specifies the required
; information about mailing lists which
; you want the gateway to be able to expand.
list "novell-l" ; the name of the list (like a userid)
"novell.lst" ; the name of the file in the lists dir
; (see mailer section above) that contains
; the subscribers to the list.
; The format of a list file is the
; same as what Pmail uses, and both
; pmail and charon can use the same
; list file.
; (one addressee per line).
list "charon-l" ; here's another list
"charon.lst"
; here's how you equate a list to a Novell group
list "everyone"
":draco/everyone" ; the format is server/group
; the ':' flags this as being a group
; list, and not a file
printer "fatlaser" ; an incoming LPR connection asking for fatlaser
"folas@draco" ; gets sent to queue folas on draco
; note also that an incoming mail message
; to user fatlaser will also get sent
; to folas@draco
; ########################## LOGFILES ########################################
logfiles ; The logfiles section describes
; files to be used to log
; accounting and message information
; in.
; Information written to a log file
; consists of key/value pairs
; written with an optional seperator
; string between values and an optional
; field width.
file "system" ; the internal name of this
; particular log file. The name
; is referenced later in the file.
server "draco" ; the file server which we wish
; to use to store the log file on.
; This parameter is optional, and if
; not given implies that the log
; file will be stored on a non-novell
; drive.
name "vol1:usr\\staff\\bkc\\charon\\logs\\system.act"
; the real physical name of the log file.
; it may reference a local drive, if
; desired.
; should go in the logs subdirectory of
; the master spool directory
maxsize 64000 ; This optional parameter specifies
; the maximum size of the file. If
; not given, the log file can grow to
; any length.
recycle ; This optional parameter is used along
; with the maxsize variable to indicate
; what action should be taken when
; the log file reaches maximum size.
; Recycle means that the write pointer
; is moved to the beginning of the file
; and operation continues.
separator " " ; optional, specifies the seperator string to
; be output between data fields.
; this string can contain newlines "\n"
; commas, anything you want.
; showtags ; This boolean option indicates that
; the key names should be written to
; the file preceeding the values.
; columns 16 ; this optional parameter specifies
; the maximum and minimum field width
; for the data values written to the
; log file. Values shorter than this
; width are padded on the left
; values longer are truncated.
file "smtp_accounting" ; the internal name of the file
server draco ; which server we want
name "vol1:usr\\staff\\bkc\\charon\\logs\\smtp.act" ; the name of the physical file.
maxsize 64000
recycle
separator "," ; comma seperator
file lpr_accounting
server draco
name "vol1:usr\\staff\\lpr\\charon\\logs\\lpr.act"
maxsize 1048576
recycle
separator ","
; ############################### LOGS SECTION #########################
log ; this section attaches processes
; to log files
process "system" ; which process we want to log
file "system" ; which log file we will use
; this corresponds to a file statement
; from the logfiles section
item date ; record the date
item info ; log informationals
item warn ; log warnings
process smtpout ; smtp output
file smtp_accounting
item date
item time
item process
item sender_name ; log the senders name
item sender_node ; log the senders node
item filesize ; log the size of the message
item destination_name ; log the destination userid
item destination_node ; log the destination node
item message_id
process mailer ; mailer transfers to novell mailboxes
file smtp_accounting
item date
item time
item process
item sender_name ; log the senders name
item sender_node ; log the senders node
item filesize ; log the size of the message
item destination_name ; log the destination userid
item destination_node ; log the destination node
item message_id
process smtpin ; this isn't too useful from an accounting
; standpoint, since entries here will also
; show up under the mailer entry
file smtp_accounting
item date
item time
item process
item sender_name ; log the senders name
item sender_node ; log the senders node
item filesize ; log the size of the message
item destination_name ; log the destination userid
item destination_node ; log the destination node
item message_id
process spool_lpr ; mailer transfers to novell mailboxes
file lpr_accounting
item date
item time
item process
item sender_name ; log the senders name
item sender_node ; log the senders node
item filesize ; log the size of the message
item destination_name ; log the destination userid
item destination_node ; log the destination node
item message_id ; the file name
process spool_lpd ; mailer transfers to novell mailboxes
file lpr_accounting
item date
item time
item process
item sender_name ; log the senders name
item sender_node ; log the senders node
item filesize ; log the size of the message
item destination_name ; log the destination userid
item destination_node ; log the destination node
item message_id ; the file name
; Note: You may enter a process name more than once. If you want
; to record process information to two different log files,
; just enter the process name twice and use a different file statement
; each time.